<template>
  <div class="body">
    <div class="empty_center">
      <img :src="empty">
      <P>您尚未提交任何作品</P>
      <router-link :to="{path:'/Templates'}">
        <button>前往模板商城</button>
      </router-link>
    </div>
  </div>
</template>

<script>
  export default {
    name: "DocumentEmpty",
    data(){
      return{
        empty: require("../../../assets/img/nav_empty.svg")
      }
    }
  }
</script>

<style scoped>
  .body {
    background: whitesmoke;
    height: 100%;
    position: fixed;
    width: 100%;
  }

  .empty_center img {
    width: 40%;
    margin: 120px 30% 0 30%;
  }

  .empty_center p {
    text-align: center;
    margin-top: 30px;
  }

  .empty_center button {
    width: 80%;
    margin: 60px 10% 0 10%;
    border-radius: 30px;
    height: 47px;
    line-height: 45px;
    letter-spacing: 3px;
    border: 1px solid black;
    background: whitesmoke;
  }
</style>
